package com.hb.bussiness.dto;

import lombok.Data;

/**
 * es实体
 *
 * @author hb
 * @date:2023/4/25 11:03
 * @date 2023/04/25
 */

@Data
public class ESEntity {

    /**
     * esId,id,标题，内容，开放日，类型
     * */

    private String id;

    private String infoId;

    private String infoTitle;

    private String openDate;

    private String infoContext;

    /**
     * 1 成果 2 需求 3 服务 4 咨询
     * */
    private String infoType;


    public ESEntity(String id, String infoId, String infoTitle, String openDate, String infoContext, String infoType) {
        this.id = id;
        this.infoId = infoId;
        this.infoTitle = infoTitle;
        this.openDate = openDate;
        this.infoContext = infoContext;
        this.infoType = infoType;
    }
}

